package joonany.basic;

public class J02_Arithmathic {

	public static void main(String[] args) {
		
		
		// 결과값은?
		double number = (1 / 3) * 3;
		// 실수리터럴
		double number1 = (1. / 3) * 3;
		double number2 = (1F / 3) * 3;
		// 자료형 변환(명시적)
		double number3 = ((float)1 / 3) * 3;
		
		
		int quotient = 7 / 3;
		int remainder = 7 % 3;
		int result = 11; result /= 2;
		
		
		System.out.println(number);
		System.out.println(number1);
		System.out.println(number2);
		System.out.println(number3);
		System.out.println(quotient);
		System.out.println(remainder);
		System.out.println(result);

	}

}
